import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm'


@Entity({ name: 'base' })
export class Base {
    //自增列
    @PrimaryGeneratedColumn()
    id: number
    //普通列
    @Column()
    name: string
}
export class User {
    //自增列
    @PrimaryGeneratedColumn()
    id: number
    //普通列
    @Column()
    name: string
}